use windows::Win32::{
	Foundation::{LPARAM, WPARAM},
	UI::WindowsAndMessaging::{PostThreadMessageW, WM_USER},
};

pub struct AppProxy(pub(crate) u32);
impl types::AppProxy for AppProxy {
	fn wake(&self, id: i64) {
		unsafe { PostThreadMessageW(self.0, WM_USER, WPARAM(0), LPARAM(id as _)).ok() };
	}
}
